<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.core.power&rdquo;</title>
        </head>
        <body><h1 class="module">Module s.c.power</h1><span id="part">Part of <a href="sympy.core.html">sympy.core</a></span><div class="toplevel"><div class="undocumented">Undocumented</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.core.power.integer_nthroot">integer_nthroot</a></td><td><div><p>Return a tuple containing x = floor(y**(1/n))</p>
</div></td></tr><tr class="class"><td>Class</td><td><a href="sympy.core.power.Pow.html">Pow</a></td><td><span class="undocumented">Undocumented</span></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.core.power.integer_nthroot">integer_nthroot(y, n):</a></div>
            <div class="functionBody"><div><p>Return a tuple containing x = floor(y**(1/n)) and a boolean indicating 
whether the result is exact (that is, whether x**n == y).</p>
<pre class="py-doctest">
<span class="py-prompt">&gt;&gt;&gt; </span>integer_nthroot(16,2)
<span class="py-output">(4, True)</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span>integer_nthroot(26,2)
<span class="py-output">(5, False)</span></pre>
</div></div>
            </div></body>
        